package com.codingfuture.glacioralarm.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.codingfuture.glacioralarm.dto.MeterAndWareHouseDTO;
import com.codingfuture.glacioralarm.mapper.AlarmConfigurationMapper;
import com.codingfuture.glacioralarm.service.AlarmConfigurationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author :zxw
 * @date 2025-04-14 09:55
 * @description:
 */
@Service
public class AlarmConfigurationServiceImpl implements AlarmConfigurationService {
    @Autowired
    private AlarmConfigurationMapper alarmConfigurationMapper;

    @Override
    public Page<MeterAndWareHouseDTO> selectByPage(String name, Page<MeterAndWareHouseDTO> page) {
        QueryWrapper<MeterAndWareHouseDTO> wrapper = new QueryWrapper<>();
        wrapper.like(!(name==null|| name.isEmpty()),"name", name);
        return null;

    }
}
